﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain.Domain
{
    /// <summary>
    /// 字典
    /// </summary>
    public class Dictionary
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        public int DictId { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        public string ProductCode { get; set; }


        /// <summary>
        /// 追溯类型
        /// </summary>

        public int TraceType { get; set; }

        /// <summary>
        /// 图片类型
        /// </summary>
        public int ImgType { get; set; }

        /// <summary>
        /// 图片地址
        /// </summary>
        public string Url { get; set; }
        public string CreatePerson { get; set; }
        public bool IsDeleted { get; set; } = false;
        public DateTime DateTime { get; set; } = DateTime.Now;
    }
}
